.class public Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;
.super Lcom/esfile/screen/recorder/base/BaseActivity;
.source "GifConvertActivity.java"

# interfaces
.implements Landroid/view/View$OnClickListener;


# annotations
.annotation build Landroid/annotation/TargetApi;
    value = 0x15
.end annotation


# instance fields
.field private a:Landroid/view/View;

.field private b:Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;

.field private c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

.field private d:Les/ae;

.field private e:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

.field private f:Ljava/lang/String;

.field private g:Z

.field private h:J

.field private i:I

.field private j:Z

.field private k:Z

.field private l:Z

.field private m:I

.field private n:I

.field private o:Lcom/esfile/screen/recorder/videos/gifconvert/i$a;


# direct methods
.method public constructor <init>()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;-><init>()V

    const/4 v0, 0x0

    .line 2
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->g:Z

    const/4 v0, 0x1

    .line 3
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->l:Z

    const/16 v0, 0x2d0

    .line 4
    iput v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->m:I

    const/16 v0, 0x500

    .line 5
    iput v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->n:I

    .line 6
    new-instance v0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$l;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$l;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->o:Lcom/esfile/screen/recorder/videos/gifconvert/i$a;

    return-void
.end method

.method private A()V
    .locals 2

    .line 1
    sget v0, Les/x4;->durec_title:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/TextView;

    .line 2
    sget v1, Les/z4;->durec_video_to_gif:I

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(I)V

    .line 3
    sget v0, Les/x4;->durec_back:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    .line 4
    invoke-virtual {v0, p0}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method

.method private B()V
    .locals 2

    .line 1
    sget v0, Les/x4;->gif_converter_player:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/h;->a(Z)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$e;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$e;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->setOnPreparedListener(Lcom/esfile/screen/recorder/player/exo/a$g;)V

    .line 4
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$f;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$f;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->setOnPlayBtnClickListener(Landroid/view/View$OnClickListener;)V

    .line 5
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$g;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$g;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->setOnCompletionListener(Lcom/esfile/screen/recorder/player/exo/a$c;)V

    .line 6
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    new-instance v1, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$h;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$h;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->setOnErrorLietener(Lcom/esfile/screen/recorder/player/exo/a$d;)V

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->f:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->setVideoPath(Ljava/lang/String;)V

    return-void
.end method

.method private C()V
    .locals 2

    .line 1
    sget v0, Les/x4;->gif_convert_loading:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->a:Landroid/view/View;

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    .line 3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->A()V

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->B()V

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->z()V

    .line 6
    sget v0, Les/x4;->gif_converter_view:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->b:Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;

    .line 7
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;->setPreviewBtnEnabled(Z)V

    .line 8
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->b:Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;

    new-instance v1, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$d;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$d;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;->setGifConvertOperation(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView$c;)V

    return-void
.end method

.method private D()V
    .locals 1

    const v0, 0x1040011

    .line 1
    invoke-static {v0}, Les/ec;->a(I)V

    .line 2
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    return-void
.end method

.method private E()V
    .locals 7

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->H()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->b:Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;->getRange()Landroid/util/Pair;

    move-result-object v0

    .line 3
    new-instance v2, Les/cd;

    invoke-direct {v2}, Les/cd;-><init>()V

    .line 4
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->f:Ljava/lang/String;

    iput-object v1, v2, Les/cd;->a:Ljava/lang/String;

    .line 5
    new-instance v1, Les/cd$s;

    invoke-direct {v1}, Les/cd$s;-><init>()V

    iput-object v1, v2, Les/cd;->b:Les/cd$s;

    .line 6
    iget-object v3, v0, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v3, Ljava/lang/Long;

    invoke-virtual {v3}, Ljava/lang/Long;->longValue()J

    move-result-wide v3

    iput-wide v3, v1, Les/cd$s;->a:J

    .line 7
    iget-object v1, v2, Les/cd;->b:Les/cd$s;

    iget-object v0, v0, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v3

    iput-wide v3, v1, Les/cd$s;->b:J

    .line 8
    iget v3, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->m:I

    iget v4, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->n:I

    const/4 v0, 0x0

    new-array v5, v0, [Ljava/lang/String;

    const/16 v6, 0x117

    move-object v1, p0

    invoke-static/range {v1 .. v6}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertPreviewActivity;->a(Landroid/app/Activity;Les/cd;II[Ljava/lang/String;I)V

    .line 9
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->K()V

    return-void
.end method

.method private F()V
    .locals 2

    .line 1
    new-instance v0, Lcom/esfile/screen/recorder/videos/gifconvert/b;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/b;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    const-string v1, "toGif"

    invoke-static {v0, v1}, Les/s4;->a(Les/s4$a;Ljava/lang/String;)V

    return-void
.end method

.method private G()V
    .locals 1

    .line 1
    new-instance v0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$i;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$i;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-static {v0}, Les/xc;->a(Ljava/lang/Runnable;)V

    return-void
.end method

.method private H()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    if-eqz v0, :cond_0

    iget-boolean v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->g:Z

    if-eqz v1, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->i()V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->h()V

    :cond_0
    return-void
.end method

.method private I()V
    .locals 4

    .line 1
    new-instance v0, Lcom/esfile/screen/recorder/ui/a;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/ui/a;-><init>(Landroid/content/Context;)V

    const/4 v1, 0x0

    .line 2
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/ui/a;->b(Z)V

    .line 3
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/ui/a;->a(Z)V

    .line 4
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v1

    .line 5
    invoke-static {v1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v1

    sget v2, Les/y4;->durec_emoji_dialog_layout:I

    const/4 v3, 0x0

    .line 6
    invoke-virtual {v1, v2, v3}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v1

    .line 7
    sget v2, Les/x4;->emoji_icon:I

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/ImageView;

    .line 8
    sget v3, Les/w4;->durec_share_guide_dialog_img:I

    invoke-virtual {v2, v3}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 9
    sget v2, Les/x4;->emoji_title:I

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    const/16 v3, 0x8

    invoke-virtual {v2, v3}, Landroid/view/View;->setVisibility(I)V

    .line 10
    sget v2, Les/x4;->emoji_message:I

    invoke-virtual {v1, v2}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 11
    sget v3, Les/z4;->durec_cut_save_query:I

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(I)V

    .line 12
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/ui/a;->a(Landroid/view/View;)V

    .line 13
    sget v1, Les/z4;->durec_common_save:I

    new-instance v2, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$a;

    invoke-direct {v2, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$a;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/ui/a;->b(ILandroid/content/DialogInterface$OnClickListener;)V

    .line 14
    sget v1, Les/z4;->durec_cut_save_query_giveup:I

    new-instance v2, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$b;

    invoke-direct {v2, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$b;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-virtual {v0, v1, v2}, Lcom/esfile/screen/recorder/ui/a;->a(ILandroid/content/DialogInterface$OnClickListener;)V

    const/4 v1, 0x1

    .line 15
    invoke-virtual {v0, v1}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 16
    new-instance v1, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$c;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$c;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/ui/a;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 17
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/ui/a;->show()V

    return-void
.end method

.method private J()V
    .locals 8
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    new-instance v0, Lcom/esfile/screen/recorder/media/b;

    invoke-direct {v0}, Lcom/esfile/screen/recorder/media/b;-><init>()V

    const/16 v1, 0x168

    .line 2
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/media/b;->b(I)V

    .line 3
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->f:Ljava/lang/String;

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/media/b;->a(Ljava/lang/String;)V

    .line 4
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/b;->b()Lcom/esfile/screen/recorder/media/util/y;

    move-result-object v1

    if-eqz v1, :cond_0

    .line 5
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/media/util/y;->b()I

    move-result v2

    iput v2, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->m:I

    .line 6
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/media/util/y;->a()I

    move-result v1

    iput v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->n:I

    .line 7
    :cond_0
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->b:Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;

    iget-wide v2, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->h:J

    long-to-int v3, v2

    invoke-virtual {v1, v3}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;->setMax(I)V

    .line 8
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->b:Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;->b()V

    const-wide/16 v1, 0x0

    .line 9
    :goto_0
    iget-wide v3, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->h:J

    const-wide/16 v5, 0x3e8

    mul-long v3, v3, v5

    cmp-long v7, v1, v3

    if-gez v7, :cond_1

    const/4 v3, 0x0

    .line 10
    invoke-virtual {v0, v1, v2, v3}, Lcom/esfile/screen/recorder/media/b;->a(JZ)Landroid/graphics/Bitmap;

    move-result-object v3

    .line 11
    iget-object v4, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->b:Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;

    invoke-virtual {v4, v3}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;->a(Landroid/graphics/Bitmap;)V

    .line 12
    iget-wide v3, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->h:J

    mul-long v3, v3, v5

    const-wide/16 v5, 0xa

    div-long/2addr v3, v5

    add-long/2addr v1, v3

    goto :goto_0

    .line 13
    :cond_1
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/media/b;->d()V

    return-void
.end method

.method private K()V
    .locals 0

    return-void
.end method

.method private L()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->j()V

    :cond_0
    return-void
.end method

.method private M()V
    .locals 6

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->isDestroyed()Z

    move-result v0

    if-eqz v0, :cond_0

    return-void

    :cond_0
    const v0, 0x1040011

    .line 2
    new-instance v1, Lcom/esfile/screen/recorder/ui/a;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/ui/a;-><init>(Landroid/content/Context;)V

    const/4 v2, 0x0

    .line 3
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/ui/a;->b(Z)V

    .line 4
    invoke-virtual {v1, v2}, Lcom/esfile/screen/recorder/ui/a;->a(Z)V

    .line 5
    invoke-virtual {p0}, Landroid/app/Activity;->getApplicationContext()Landroid/content/Context;

    move-result-object v3

    .line 6
    invoke-static {v3}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;

    move-result-object v3

    sget v4, Les/y4;->durec_emoji_dialog_layout:I

    const/4 v5, 0x0

    .line 7
    invoke-virtual {v3, v4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;)Landroid/view/View;

    move-result-object v3

    .line 8
    sget v4, Les/x4;->emoji_icon:I

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/ImageView;

    .line 9
    sget v5, Les/w4;->durec_system_lacked_dialog_warn:I

    invoke-virtual {v4, v5}, Landroid/widget/ImageView;->setImageResource(I)V

    .line 10
    sget v4, Les/x4;->emoji_title:I

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    const/16 v5, 0x8

    invoke-virtual {v4, v5}, Landroid/view/View;->setVisibility(I)V

    .line 11
    sget v4, Les/x4;->emoji_message:I

    invoke-virtual {v3, v4}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v4

    check-cast v4, Landroid/widget/TextView;

    .line 12
    invoke-virtual {v4, v0}, Landroid/widget/TextView;->setText(I)V

    .line 13
    invoke-virtual {v1, v3}, Lcom/esfile/screen/recorder/ui/a;->a(Landroid/view/View;)V

    const v0, 0x1040010

    .line 14
    new-instance v3, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$j;

    invoke-direct {v3, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$j;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-virtual {v1, v0, v3}, Lcom/esfile/screen/recorder/ui/a;->b(ILandroid/content/DialogInterface$OnClickListener;)V

    .line 15
    new-instance v0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$k;

    invoke-direct {v0, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity$k;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-virtual {v1, v0}, Lcom/esfile/screen/recorder/ui/a;->setOnDismissListener(Landroid/content/DialogInterface$OnDismissListener;)V

    .line 16
    invoke-virtual {v1, v2}, Landroid/app/Dialog;->setCanceledOnTouchOutside(Z)V

    .line 17
    invoke-virtual {v1}, Lcom/esfile/screen/recorder/ui/a;->show()V

    return-void
.end method

.method private N()V
    .locals 2

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    if-eqz v0, :cond_0

    iget-boolean v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->g:Z

    if-eqz v1, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->k()V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->h()V

    :cond_0
    return-void
.end method

.method private O()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->l()V

    :cond_0
    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;J)J
    .locals 0

    .line 3
    iput-wide p1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->h:J

    return-wide p1
.end method

.method private static a(Landroid/util/Pair;)Landroid/util/Pair;
    .locals 6
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/util/Pair<",
            "Ljava/lang/Long;",
            "Ljava/lang/Long;",
            ">;)",
            "Landroid/util/Pair<",
            "Ljava/lang/Long;",
            "Ljava/lang/Long;",
            ">;"
        }
    .end annotation

    .line 7
    iget-object v0, p0, Landroid/util/Pair;->first:Ljava/lang/Object;

    if-nez v0, :cond_0

    const-wide/16 v0, 0x0

    goto :goto_0

    :cond_0
    check-cast v0, Ljava/lang/Long;

    invoke-virtual {v0}, Ljava/lang/Long;->longValue()J

    move-result-wide v0

    .line 8
    :goto_0
    iget-object p0, p0, Landroid/util/Pair;->second:Ljava/lang/Object;

    if-nez p0, :cond_1

    move-wide v2, v0

    goto :goto_1

    :cond_1
    check-cast p0, Ljava/lang/Long;

    invoke-virtual {p0}, Ljava/lang/Long;->longValue()J

    move-result-wide v2

    .line 9
    :goto_1
    new-instance p0, Landroid/util/Pair;

    const-wide/16 v4, 0x64

    div-long/2addr v0, v4

    mul-long v0, v0, v4

    invoke-static {v0, v1}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v0

    div-long/2addr v2, v4

    mul-long v2, v2, v4

    const-wide/16 v4, 0x1

    add-long/2addr v2, v4

    invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long;

    move-result-object v1

    invoke-direct {p0, v0, v1}, Landroid/util/Pair;-><init>(Ljava/lang/Object;Ljava/lang/Object;)V

    return-object p0
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    return-object p0
.end method

.method public static a(Landroid/content/Context;Ljava/lang/String;)V
    .locals 2

    .line 10
    new-instance v0, Landroid/content/Intent;

    const-class v1, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;

    invoke-direct {v0, p0, v1}, Landroid/content/Intent;-><init>(Landroid/content/Context;Ljava/lang/Class;)V

    const-string v1, "extra_video_path"

    .line 11
    invoke-virtual {v0, v1, p1}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/lang/String;)Landroid/content/Intent;

    const/high16 p1, 0x10000000

    .line 12
    invoke-virtual {v0, p1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;

    .line 13
    invoke-virtual {p0, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V

    return-void
.end method

.method static synthetic a(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->j:Z

    return p1
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->F()V

    return-void
.end method

.method static synthetic b(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;Z)Z
    .locals 0

    .line 2
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->g:Z

    return p1
.end method

.method static synthetic c(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V
    .locals 0
    .annotation system Ldalvik/annotation/Throws;
        value = {
            Ljava/io/IOException;
        }
    .end annotation

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->J()V

    return-void
.end method

.method static synthetic d(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->b:Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;

    return-object p0
.end method

.method static synthetic e(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->D()V

    return-void
.end method

.method static synthetic f(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->E()V

    return-void
.end method

.method static synthetic g(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)J
    .locals 2

    .line 1
    iget-wide v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->h:J

    return-wide v0
.end method

.method static synthetic h(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)Landroid/view/View;
    .locals 0

    .line 1
    iget-object p0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->a:Landroid/view/View;

    return-object p0
.end method

.method static synthetic i(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)Z
    .locals 0

    .line 1
    iget-boolean p0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->g:Z

    return p0
.end method

.method static synthetic j(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->G()V

    return-void
.end method

.method static synthetic k(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->H()V

    return-void
.end method

.method static synthetic l(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->N()V

    return-void
.end method

.method static synthetic m(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V
    .locals 0

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->M()V

    return-void
.end method

.method private w()V
    .locals 1

    .line 1
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->d:Les/ae;

    if-eqz v0, :cond_0

    .line 2
    invoke-virtual {v0}, Les/ae;->a()V

    :cond_0
    const/4 v0, 0x0

    .line 3
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->j:Z

    return-void
.end method

.method private x()V
    .locals 5

    .line 1
    new-instance v0, Les/ae;

    new-instance v1, Les/z6;

    invoke-direct {v1}, Les/z6;-><init>()V

    invoke-direct {v0, v1}, Les/ae;-><init>(Lcom/esfile/screen/recorder/gif/encoder/a;)V

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->d:Les/ae;

    .line 2
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->b:Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;

    invoke-virtual {v1}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;->getRange()Landroid/util/Pair;

    move-result-object v1

    invoke-static {v1}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->a(Landroid/util/Pair;)Landroid/util/Pair;

    move-result-object v1

    invoke-virtual {v0, v1}, Les/ae;->a(Landroid/util/Pair;)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->d:Les/ae;

    invoke-static {p0}, Les/w6;->a(Landroid/content/Context;)Les/w6;

    move-result-object v1

    invoke-virtual {v1}, Les/w6;->f()I

    move-result v1

    invoke-virtual {v0, v1}, Les/ae;->a(I)V

    .line 4
    iget v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->m:I

    iget v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->n:I

    invoke-static {v0, v1}, Les/x6;->a(II)Landroid/util/Pair;

    move-result-object v0

    .line 5
    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->d:Les/ae;

    new-instance v2, Lcom/esfile/screen/recorder/media/util/y;

    iget-object v3, v0, Landroid/util/Pair;->first:Ljava/lang/Object;

    check-cast v3, Ljava/lang/Integer;

    invoke-virtual {v3}, Ljava/lang/Integer;->intValue()I

    move-result v3

    iget-object v4, v0, Landroid/util/Pair;->second:Ljava/lang/Object;

    check-cast v4, Ljava/lang/Integer;

    invoke-virtual {v4}, Ljava/lang/Integer;->intValue()I

    move-result v4

    invoke-direct {v2, v3, v4}, Lcom/esfile/screen/recorder/media/util/y;-><init>(II)V

    invoke-virtual {v1, v2}, Les/ae;->a(Lcom/esfile/screen/recorder/media/util/y;)V

    .line 6
    new-instance v1, Ljava/lang/StringBuilder;

    invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V

    const-string v2, "gif size = "

    invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v1, v0}, Ljava/lang/StringBuilder;->append(Ljava/lang/Object;)Ljava/lang/StringBuilder;

    invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object v0

    const-string v1, "gfcnvrtctvty"

    invoke-static {v1, v0}, Lcom/esfile/screen/recorder/utils/n;->d(Ljava/lang/String;Ljava/lang/String;)V

    .line 7
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->f:Ljava/lang/String;

    iget-object v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->d:Les/ae;

    iget-object v2, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->e:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    iget-object v3, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->o:Lcom/esfile/screen/recorder/videos/gifconvert/i$a;

    invoke-static {p0, v0, v1, v2, v3}, Lcom/esfile/screen/recorder/videos/gifconvert/i;->a(Landroid/content/Context;Ljava/lang/String;Les/ae;Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;Lcom/esfile/screen/recorder/videos/gifconvert/i$a;)V

    return-void
.end method

.method private y()Z
    .locals 2

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->getIntent()Landroid/content/Intent;

    move-result-object v0

    const-string v1, "extra_video_path"

    .line 2
    invoke-virtual {v0, v1}, Landroid/content/Intent;->getStringExtra(Ljava/lang/String;)Ljava/lang/String;

    move-result-object v0

    .line 3
    invoke-static {v0}, Landroid/text/TextUtils;->isEmpty(Ljava/lang/CharSequence;)Z

    move-result v1

    if-eqz v1, :cond_0

    const/4 v0, 0x0

    return v0

    .line 4
    :cond_0
    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->f:Ljava/lang/String;

    const/4 v0, 0x1

    return v0
.end method

.method private z()V
    .locals 2

    .line 1
    sget v0, Les/x4;->gif_convert_progress:I

    invoke-virtual {p0, v0}, Landroidx/appcompat/app/AppCompatActivity;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    iput-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->e:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    .line 2
    sget v1, Les/z4;->durec_gif_saving:I

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->setProgressText(I)V

    .line 3
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->e:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    new-instance v1, Lcom/esfile/screen/recorder/videos/gifconvert/c;

    invoke-direct {v1, p0}, Lcom/esfile/screen/recorder/videos/gifconvert/c;-><init>(Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;)V

    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->setOnCancelClickListener(Landroid/view/View$OnClickListener;)V

    return-void
.end method


# virtual methods
.method public synthetic a(Landroid/view/View;)V
    .locals 0

    .line 4
    iget-boolean p1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->k:Z

    if-nez p1, :cond_0

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->w()V

    :cond_0
    const/4 p1, 0x1

    .line 6
    iput-boolean p1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->k:Z

    return-void
.end method

.method protected onActivityResult(IILandroid/content/Intent;)V
    .locals 0

    const/16 p3, 0x117

    if-ne p1, p3, :cond_0

    const/4 p1, -0x1

    if-ne p2, p1, :cond_0

    .line 1
    invoke-virtual {p0}, Landroid/app/Activity;->finish()V

    :cond_0
    return-void
.end method

.method public onBackPressed()V
    .locals 1

    .line 1
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->j:Z

    if-eqz v0, :cond_0

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->w()V

    return-void

    .line 3
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->b:Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;

    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertView;->a()Z

    move-result v0

    if-eqz v0, :cond_1

    .line 4
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->I()V

    return-void

    .line 5
    :cond_1
    invoke-super {p0}, Landroidx/activity/ComponentActivity;->onBackPressed()V

    return-void
.end method

.method public onClick(Landroid/view/View;)V
    .locals 1

    .line 1
    invoke-virtual {p1}, Landroid/view/View;->getId()I

    move-result p1

    sget v0, Les/x4;->durec_back:I

    if-ne p1, v0, :cond_0

    .line 2
    invoke-virtual {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->onBackPressed()V

    :cond_0
    return-void
.end method

.method protected onCreate(Landroid/os/Bundle;)V
    .locals 0

    .line 1
    invoke-super {p0, p1}, Lcom/esfile/screen/recorder/base/BaseActivity;->onCreate(Landroid/os/Bundle;)V

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->y()Z

    move-result p1

    if-nez p1, :cond_0

    .line 3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->D()V

    return-void

    .line 4
    :cond_0
    sget p1, Les/y4;->durec_gif_convert_activity:I

    invoke-virtual {p0, p1}, Landroidx/appcompat/app/AppCompatActivity;->setContentView(I)V

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->C()V

    return-void
.end method

.method protected onDestroy()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onDestroy()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->e:Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/videos/edit/ui/VideoEditProgressView;->a()V

    .line 4
    :cond_0
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->w()V

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->O()V

    return-void
.end method

.method protected onPause()V
    .locals 1

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onPause()V

    .line 2
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    if-eqz v0, :cond_0

    .line 3
    invoke-virtual {v0}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->getCurrentPosition()I

    move-result v0

    iput v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->i:I

    :cond_0
    return-void
.end method

.method protected onResume()V
    .locals 2

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onResume()V

    .line 2
    iget-boolean v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->l:Z

    if-nez v0, :cond_0

    .line 3
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->L()V

    .line 4
    :cond_0
    iget-object v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->c:Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;

    if-eqz v0, :cond_1

    iget v1, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->i:I

    if-lez v1, :cond_1

    .line 5
    invoke-virtual {v0, v1}, Lcom/esfile/screen/recorder/player/exo/ExoGLVideoPlayer;->b(I)V

    :cond_1
    const/4 v0, 0x0

    .line 6
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->l:Z

    return-void
.end method

.method protected onStop()V
    .locals 0

    .line 1
    invoke-super {p0}, Lcom/esfile/screen/recorder/base/BaseActivity;->onStop()V

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->O()V

    return-void
.end method

.method public u()Ljava/lang/String;
    .locals 1

    const-string v0, "gif-convert"

    return-object v0
.end method

.method public synthetic v()V
    .locals 1

    .line 1
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->H()V

    .line 2
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->w()V

    const/4 v0, 0x1

    .line 3
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->j:Z

    const/4 v0, 0x0

    .line 4
    iput-boolean v0, p0, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->k:Z

    .line 5
    invoke-direct {p0}, Lcom/esfile/screen/recorder/videos/gifconvert/GifConvertActivity;->x()V

    return-void
.end method
